<?php

	if(!defined('YMT')) exit;

	//setlocale(LC_ALL, SiteConfig::DefaultLanguage); set inside of MainFramework
	
	/**
	 * build at 31.08.2010 13:54 with avance installer version 0.1
	 */
	Class SiteConfig
	{
		
		// Global Site Settings
		
		const AdminMail = 'you@admin.org';
		
		const Domain = 'http://127.0.0.1/aptana/yomm/dev/'; // do not forget the trailing slash!
		
		const ActiveTheme = '__default';
	
		const DefaultLanguage = 'de_CH';
		
		const LangFiles = 'backend'; // seperate more items with ";" (backend;basket;eshop;globals)
		
		const DefaultCat = 1; // Default case: SELECT * FROM cms_cat WHERE id=SiteConfig::DefaultCat
		
		const ImageResizeSmall = 100;

		const ImageResizePortrait = 200;
		
		const ImageResizeFull = 600;
		
		const RewriteLinks = false;
		
		const RewriteLinksDisplayLang = false; // must be true for multi-lingual pages
		
		const RewriteLinksDisplayCat = false;
		
		// Mailer Settings
		
		const MailSenderName = 'Avance System';
		
		const MailSenderMail = 'system@domain.tld';
		
		const MailSmtpHost = 'mail.avancecms.ch';
		
		const MailPort = 25;
		
		const MailSmtpUser = 'phpmailer@avancecms.ch';
		
		const MailSmtpPass = '*******'; // you can request this password on avancecms.ch if yours not working!
		
		// Database Informations
		
		const SqlHost = 'localhost';
		
		const SqlUser = 'root';
		
		const SqlPass = 'defaultPassword';
		
		const SqlDatabase = 'framework';
		
		// Framework Design Settings (content parser informations for styles, titles or images)
		
		const ContentImageLeft = '<span style="display:inline-block; font-style:italic; font-size:9px; float:left; text-align:center;"><a title="{title}" href="{name}full{mime}"><img src="{name}portrait{mime}" border="0" alt="{title}" title="{title}" align="left" /></a><br />{title}</span>';
		
		const ContentImageMiddle = '<center><a href="{name}full{mime}"><img src="{name}portrait{mime}" border="0" alt="{title}" title="{title}" /></a></center>';
		
		const ContentImageRight = '<a href="{name}full{mime}"><img src="{name}portrait{mime}" border="0" alt="{title}" title="{title}" align="right" /></a>';

		const HighlightWrapper = '<span style="background-color:yellow;">{value}</span>';
		
		// System Check Options
		
		const forceSystemCheck = true; // should be turned to false after the website is in production!
		
		const SendErrors = false; // will send all errors to the avance system developer team. it helps us to make the product better!
		
		const Debugger = true; // set the error_reporting(0) and does not allow debugger=true anymore
	}
